package com.zhenwei.zscm.mappings;

import com.zhenwei.zscm.entity.OrderProductCheckEntity;
import com.zhenwei.zscm.model.dto.order.OrderProductCheckDTO;
import com.zhenwei.zscm.model.vo.orderProductCheck.OrderProductCheckVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface OrderProductCheckMapping {
    OrderProductCheckMapping INSTANCE = Mappers.getMapper(OrderProductCheckMapping.class);
    OrderProductCheckEntity vo2Entity(OrderProductCheckVO vo);
    OrderProductCheckDTO entity2Dto(OrderProductCheckEntity entity);

    OrderProductCheckEntity dto2Entity(OrderProductCheckDTO orderProductCheckDTO);
}
